using System;
using System.Collections.Generic;

namespace Spotshub.Plugin.Payments.GlobalPayments.Services
{
    public interface IGlobalPaymentsService
    {
        bool UseOnePageCheckout();
        string GetPaymentRawResult(int orderId);
        string GetPaymentRefundUid(int orderId);
        PaymentCreditCard GetCreditCardById(int id);
        List<PaymentCreditCard> GetCreditCardsByCustomer(int customerId, int storeId);
        CardOnFileUrlServiceResult GetCardOnFileFormUrl(int customerId, int storeId, string type = "");
        CardOnFileServiceResult SaveCreditCard(int customerId, int storeId, string uid);
        RepeatSaleServiceResult RepeatSale(int creditCardId, decimal amount, string orderId);
    }
}